home *** CD-ROM | disk | FTP | other *** search
- // strheap.cpp -- Create string on heap
-
- #include <iostream.h>
- #include <stdio.h>
-
- main()
- {
- char *string = new char[129];
-
- cout << "Enter string: ";
- gets(string);
- cout << "You entered : " << string;
- }
-
-
- // Copyright (c) 1990 by Tom Swan. All rights reserved
- // Revision 1.00 Date: 12/05/1990 Time: 07:54 am
-
- // Revision 1.01 Date: 07/08/1991 Time: 05:41 pm
- // Converted for Borland C++ 2.0
-
-